#ifndef COLLDETECTION_H_INCLUDED
#define COLLDETECTION_H_INCLUDED

#include <vector>
#include "Wall.h"
#include "Cell.h"

struct Character
{
	float theta;
	float angle;
	int xStart;
	int movingPoint;
	float posX,posY,posZ;
};
// Karakter ve duvar ikilisi
struct CharacterWallPair
{
	struct Character *character;
	Wall wall;
};

bool areThereCollisions(struct Character *karakter, vector<Wall> duvarlar, float deltaX, float deltaY);

vector<CharacterWallPair> potentialCollisions(struct Character *karakter, vector<Wall> duvarlar); 

bool testCollision(struct Character *karakter, Wall duvar, float deltaX, float deltaY);

#endif